package com.cqie.practicaltraining.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "Province", description = "省份信息")
public class Province {
    @ApiModelProperty(value = "省份ID")
    private Long id;
    @ApiModelProperty(value = "省份名称")
    private String name;
    @ApiModelProperty(value = "城市列表")
    private List<CityInfo> children;
}
